package com.ruoyi.client.mapper;

import com.ruoyi.client.pojo.vo.CategoryVo;
import com.ruoyi.myshop.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("ClientUserMapper")
public interface UserMapper {
    // 根据名称查询用户
    User selectByName(String name);
    // 用户注册
    boolean register(User user);
    // 根据Id查询用户
    User selectById(Long id);

    // 更改用户
    int update(User user);
}
